package com.xebest.web.form;

import com.xebest.web.form.base.BaseForm;
import com.xebest.web.model.XeVenStoreReceiptDetailEntity;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 退货单退货入库
 *
 * @author chenjing
 */
public class XeVenRejectSubmitForm extends BaseForm {
    private static final long serialVersionUID = 1L;

    /**
     * 退货单号
     */
    @NotNull(message = "退货单号不能为空")
    private String rejectCode;

    /**
     * 入库商品参数
     */
    private List<XeVenStoreReceiptDetailEntity> list;

    private String userCode;

    private String userName;

    /**
     * 退货仓库ID
     */
    @NotNull(message = "退货仓库ID不能为空")
    private String storeId;

    /**
     * 退货仓库名称
     */
    @NotNull(message = "退货仓库名称不能为空")
    private String storeName;

    public String getRejectCode() {
        return rejectCode;
    }

    public void setRejectCode(String rejectCode) {
        this.rejectCode = rejectCode;
    }

    public List<XeVenStoreReceiptDetailEntity> getList() {
        return list;
    }

    public void setList(List<XeVenStoreReceiptDetailEntity> list) {
        this.list = list;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }
}
